package com.shop.service.food;

import com.shop.dao.food.FoodDao;
import com.shop.entity.food.Food;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service("foodService")
public class FoodServiceImpl implements FoodService {
    @Resource
    private FoodDao foodDao;
    @Override
    public List<Food> queryAllFood() {
        return foodDao.queryAllFood();
    }
}
